﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Controls_BrandSeriesTest" Codebehind="BrandSeriesTest.aspx.cs" %>

<%@ Register src="BrandSeries.ascx" tagname="BrandSeries" tagprefix="uc1" %>

<%@ Register src="BrandDropDownList.ascx" tagname="BrandDropDownList" tagprefix="uc2" %>
<%@ Register src="SeriesDropDownList.ascx" tagname="SeriesDropDownList" tagprefix="uc3" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
	<asp:ScriptManager ID="ScriptManager1" runat="server">
	</asp:ScriptManager>
    <div>
		<asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate>

    	<uc1:BrandSeries ID="BrandSeries1" runat="server" ShowWhat=All />
		<br />
		<uc1:BrandSeries ID="BrandSeries2" runat="server" ShowWhat=Brand />
		<br />
		<uc1:BrandSeries ID="BrandSeries3" runat="server" />
		<br />
		<uc1:BrandSeries ID="ddlBrandSeriesList" runat="server" />
				</ContentTemplate>
		</asp:UpdatePanel>
    	<asp:Panel ID="pnlNewBrandSeries" runat="server" BackColor=AliceBlue>
				<div>
					<asp:Literal ID="ltlBrandOrSeries" runat="server" Text="Brand"></asp:Literal>
					&nbsp;Name:
					<asp:TextBox ID="txtBrandSeriesName" runat="server"></asp:TextBox>
					<asp:Literal ID="ltlNeedBrandSeriesName" runat="server" Visible="False">*</asp:Literal>
				</div>
				<div>
					<asp:CheckBox ID="cbCreateSeries" AutoPostBack=true runat="server" 
						oncheckedchanged="cbCreateSeries_CheckedChanged" Text="Create Series" />
				</div>
				<asp:Panel ID="pnlBrand" Visible=false runat="server">
					Brand:
					<uc1:BrandSeries ID="ddlBrand" runat="server" ShowWhat=Brand />
				</asp:Panel>
				<div>
					<asp:Button ID="btnInsertBrandSeries" runat="server" Text="Insert" onclick="btnInsertBrandSeries_Click" />
					<asp:Button ID="btnCancelBrandSeries" runat="server" Text="Cancel" />
				</div>
			</asp:Panel>
    </div>
    
    <div>
		<uc2:BrandDropDownList ID="BrandDropDownList1" runat="server" />
    	<uc3:SeriesDropDownList ID="SeriesDropDownList1" runat="server" />
    </div>
    </form>
</body>
</html>
